﻿@using Beeldbankmvc.Code
@{
    ViewBag.Title = "Beeldarchief Rijkswaterstaat";
    Layout = "../Shared/Layout.cshtml";
    Html.RenderAction("AdminMenu", "Miscellaneous");
}
<h2>Nieuw gebied</h2>
<script src="@AppHelper.getContent("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@AppHelper.getContent("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<p>
    Gebruik <a href="http://www.openstreetmap.nl/" target="_blank">www.openstreetmap.nl</a>
    om een afbeelding te grabben en onderstaande GPS coordinaten te vinden.
</p>
@ViewBag.ImageInUse
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <div class="line">
            <div class="unit size23">
                <legend style="display: none;">Velden</legend>

                <div class="display-label">
                    LB Lat (Y-as)
                </div>
                <div class="display-field">
                    <input type="text" name="topLeftLat" id="topLeftLat" value="" />
                </div>
                <div class="display-label">
                    RO Lat (Y-as)
                </div>
                <div class="display-field">
                    <input type="text" name="topRightLat" id="topRightLat" value="" />
                </div>
                <div class="display-label">
                    LB Long (X-as)
                </div>
                <div class="display-field">
                    <input type="text" name="topLeftLon" id="topLeftLon" value="" />
                </div>
                <div class="display-label">
                    RO Long (X-as)
                </div>
                <div class="display-field">
                    <input type="text" name="topRightLon" id="topRightLon" value="" />
                </div>
                <div class="display-label">
                    Achtergrondimage
                </div>
                <div class="editor-field">
                    <input type="text" name="imageName" value="" />
                </div>
                <div class="display-label">
                    Naam gebied
                </div>
                <div class="display-field">
                    <input type="text" name="areaName" value="" />
                </div>
            </div>
            <div class="unit size13">
                <p>
                    <a title="Toon de overzichtskaart van Nederland" href="@Url.Action("Index", "Gebied")">
                    <img alt="Toon de overzichtskaart van Nederland" title="Toon de overzichtskaart van Nederland" src="@AppHelper.getContent("~/Content/images/maps/top250-2-66.png")" />Kaart van Nederland</a><br /><br />
                    <input type="submit" name="submit" value="Opslaan" />
                </p>
            </div>
        </div>
    </fieldset>
}